package homework;

public class AnimalTest {
    public static void main(String[] args) {
        Dog dog1 = new Dog("阿红",2,"红");
        dog1.eat();
        dog1.lookHome();
        dog1.drink();
        dog1.swim();

        Fish fish1 = new Fish("阿金",1,"金");
        fish1.eat();
        fish1.drink();
        fish1.swim();

        Chick chick1 = new Chick("阿黄",2,"黄");
        chick1.eat();
        chick1.drink();
        chick1.layEggs();



    }

}
